package org.ushio.nchu_22201402.Foen;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.ushio.common_module.entity.ComplaintRecord;
import org.ushio.common_module.entity.CustomerService;
import org.ushio.common_module.entity.CustomerServiceRecord;

import java.util.List;

@FeignClient(value = "nchu-22201404")
public interface Admin_CSFoen {

    @RequestMapping("/serviceOnlineRecordToAdmin")
    public List<CustomerServiceRecord> getServiceOnlineRecordToAdmin();

    @RequestMapping(value = "/getCustomerServiceInfo")
    public List<CustomerService> getCustomerServiceInfo();

    @GetMapping(value = "/complaintSelectToAdmin")
    public List<ComplaintRecord> ListAllComplaint();
}
